package com.weishu.jinrong.controller;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weishu.jinrong.config.ResultVO;
import com.weishu.jinrong.entity.TJrRentInstallment;
import com.weishu.jinrong.service.ITJrRentInstallmentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 房租分期申请 前端控制器
 * </p>
 *
 * @author lzy
 * @since 2021-11-27
 */
@RestController
@RequestMapping("/jinrong")
public class TJrRentInstallmentController {

    @Autowired
    private ITJrRentInstallmentService itJrRentInstallmentService;

    @RequestMapping("/list")
    public ResultVO list(Page page, TJrRentInstallment tJrRentInstallment){

        Page page1 = itJrRentInstallmentService.page(page);
        return ResultVO.success(page1);
    }
}
